/*
    Project Milestone 3
    by Lorenzo Miori [Lorenzo.Miori@stud-inf.unibz.it,
    Matteo Angriman [Matteo.Angriman@stud-inf.unibz.it],
    Nick Preda [Nicolae.Preda@stud-inf.unibz.it]
*/

package GUI;

import java.util.HashMap;

/**
 *
 * @author lorenzo
 */
public interface DataModifiedListener {

    public int ABORT = 0;
    public int SAVE = 1;
    public int WINDOW_CLOSED = 2;

    /* Status tells the implementer what has been done
     * newData contains a new set of data to be used
     */
    public void dataModified(int status, HashMap<String, String> newData);
    
}
